/**
 * Free software.
 */

package org.nanhill.moo.domain.search.favor;

import org.nanhill.commons.pattern.search.SearchException;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2006-11-5
 */
public interface FavorVisitor {

	/**
	 * @param criterion
	 * @throws SearchException
	 */
	public void visitAuthorId(FavorCriterion criterion)
			throws SearchException;

	/**
	 * @param criterion
	 * @throws SearchException
	 */
	public void visitCostId(FavorCriterion criterion)
			throws SearchException;

	/**
	 * @param criterion
	 * @throws SearchException
	 */
	public void visitCategoryId(FavorCriterion criterion)
			throws SearchException;

	/**
	 * @param criterion
	 * @throws SearchException
	 */
	public void visitIdOrder(FavorCriterion criterion) throws SearchException;

}
